/**
 *  Copyright (C) 2006 zhangbo (freeeob@gmail.com)
 *
 *  This product is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation; either version 2.1 of the License, or
 *  (at your option) any later version.
 * 
 *  This product is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
 *
 *  author:zhangbo
 *  Email:jsjava@gmail.com
 */

/**
 * Constructor
 */
function BlogRssItem(){
	this.jsjava_class="jsorg.eob.blog.BlogRssItem";		
};

/**
 * Get the rss item creator
 */
BlogRssItem.prototype.getCreator=function(){
	return this.creator;
};

/**
 * Set the rss item creator
 * @param creator
 */
BlogRssItem.prototype.setCreator=function(creator){
	this.creator=creator;
};

/**
 * Get the rss item title
 */
BlogRssItem.prototype.getTitle=function(){
	return this.title;
};

/**
 * Set the rss item title
 * @param title
 */
BlogRssItem.prototype.setTitle=function(title){
	this.title=title;
};

/**
 * Get the rss item link
 */
BlogRssItem.prototype.getLink=function(){
	return this.link;
};

/**
 * Set the rss item link
 * @param link
 */
BlogRssItem.prototype.setLink=function(link){
	this.link=link;
};

/**
 * Get the rss item publish date
 */
BlogRssItem.prototype.getPubDate=function(){
	return this.pubDate;
};

/**
 * Set the rss item publish date
 * @param pubDate
 */
BlogRssItem.prototype.setPubDate=function(pubDate){
	this.pubDate=pubDate;
};

/**
 * Get the rss item id
 */
BlogRssItem.prototype.getId=function(){
	return this.id;
};

/**
 * Set the rss item id
 * @param id
 */
BlogRssItem.prototype.setId=function(id){
	this.id=id;
};

/**
 * Get the rss item comments
 */
BlogRssItem.prototype.getComments=function(){
	return this.comments;
};

/**
 * Set the rss item comment
 * @param comment
 */
BlogRssItem.prototype.setComments=function(comments){
	this.comments=comments;
};

/**
 * Get the rss item description
 */
BlogRssItem.prototype.getDescription=function(){
	return this.description;
};

/**
 * Set the rss item description
 * @param description
 */
BlogRssItem.prototype.setDescription=function(description){
	this.description=description;
};

/**
 * Return a string description
 */
BlogRssItem.prototype.toString=function(){
	var str="{";
	str+="id="+this.id;
	str+=",creator="+this.creator;
	str+=",title="+this.title;
	str+=",link="+this.link;
	str+=",pubDate="+this.pubDate;
	str+=",comments="+this.comments;
	str+="}";
	return str;
};